Skip to content

Use Mail::Address methods instead of Email::Address::XS#1155

Merged
TamaraNaboulsi merged 2 commits intopostreleasefix/115from
fix2/mailer
Apr 13, 2026
Merged

Use Mail::Address methods instead of Email::Address::XS#1155
TamaraNaboulsi merged 2 commits intopostreleasefix/115from
fix2/mailer

Conversation

@TamaraNaboulsi
Copy link
Copy Markdown
Member

Description

A fix to a problem created by #1145 where there was a complication in installing Email::Address::XS. The solution devised aims to use methods from Mail::Address instead, which is a package that comes with Mail::Mailer which is already installed.

Views affected

The sending helpdesk email form.

Copy link
Copy Markdown
Contributor

@veidenberg veidenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming it's tested (no sandbox URL), it looks good to me 👍

@TamaraNaboulsi
Copy link
Copy Markdown
Member Author

Assuming it's tested (no sandbox URL), it looks good to me 👍

Thanks Andres. I tested it locally and on one of the staging sites. I don't have a sandbox set up, but if there's one ready somehwere I can test it there.

@TamaraNaboulsi
Copy link
Copy Markdown
Member Author

When testing on a sandbox, email was not being sent. Turns out there was a typo in a regex that checks the url and the presence of dashes '-' was triggering a warning. Fixed in last commit.

@TamaraNaboulsi TamaraNaboulsi merged commit 4b2f8a5 into postreleasefix/115 Apr 13, 2026
@TamaraNaboulsi TamaraNaboulsi deleted the fix2/mailer branch April 13, 2026 09:21
TamaraNaboulsi pushed a commit that referenced this pull request Apr 13, 2026
* postreleasefix/115:
  Use Mail::Address methods instead of Email::Address::XS (#1155)
TamaraNaboulsi pushed a commit that referenced this pull request Apr 13, 2026
* postreleasefix/115:
  Use Mail::Address methods instead of Email::Address::XS (#1155)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants